home *** CD-ROM | disk | FTP | other *** search
/ WWW Studio 2004 / WWW Studio.iso / Serwisy / at40 / dane / attach / gra01.swf / scripts / DefineSprite_152 / frame_11 / DoAction.as
Encoding:
Text File  |  2004-04-02  |  279 b   |  18 lines

  1. skoczyl = 1;
  2. if(_X < _root.pr._x and skok == 0)
  3. {
  4.    if(_root.pr._x - _X < 80)
  5.    {
  6.       skok = 1;
  7.       spadl = 1;
  8.       g = (- (80 - (_root.pr._x - _X))) / 20;
  9.       trace("__________" + g);
  10.       xs += 2;
  11.       stop();
  12.    }
  13.    else
  14.    {
  15.       play();
  16.    }
  17. }
  18.